<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <button class="btn btn-sm btn-primary" ng-click="cancel()">关闭</button>

                <div class="box-tools">
                    <button class="btn btn-sm btn-primary" ng-click="backupTask()">备份</button>
                </div>
            </div>
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <table class="table table-hover">
                    <tr>
                        <th>ID</th>
                        <th>应用名称</th>
                        <th>备份日期</th>
                        <th>类型</th>
                        <th>操作</th>
                    </tr>
                    <tr ng-repeat="a in data">
                        <td>{{a.id}}</td>
                        <td>{{a.appName}}</td>
                        <td>{{a.backDate|date: 'yyyy-MM-dd HH:mm:ss'}}</td>
                        <td>{{a.type}}</td>
                        <td>
                            <span class="label label-success" ng-click="recoveryBackupTask(a.id)">还原</span>
                            <span class="label label-danger" ng-click="delBackupTask(a.id)">删除</span>
                        </td>
                    </tr>
                </table>
            </div>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->
    </div>
</div>
